﻿@model List<Core.Contract.DataContract.RelaxAdvertiseDataContract>

@if (Model != null)
{
    var first = Model.FirstOrDefault(p => p.Type == 2);
    if (first != null)
    {
    <img src="~/@first.Image" alt="@first.Name" />
    }
    else
    {
    
        <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=648332&bid=1615444" type="text/javascript"></SCRIPT>
        <noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_publisher_toolbar_creator.dbm">toolbar builder</a></noscript>
    }
}
else
{
   
    <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=648332&bid=1615444" type="text/javascript"></SCRIPT>
    <noscript><a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_publisher_toolbar_creator.dbm">toolbar builder</a></noscript>
}